home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998…eptember: Technology Seed / September 98 ADC Seed CD.toast / FireWire 1.1 DR2 SDK / Source / OpenTransport / Interfaces / strstat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-15  |  737 b   |  33 lines  |  [TEXT/MPS ]

  1. /** Copyright (c) 1993  Mentat Inc.
  2.  ** strstat.h 4.1, last change 31 Aug 1993
  3.  **/
  4.  
  5.  
  6. #ifndef _STRSTAT_
  7. #define _STRSTAT_
  8.  
  9. #ifndef __OPENTRANSPORT__
  10. #include <OpenTransport.h>
  11. #endif
  12.  
  13. #if PRAGMA_ALIGN_SUPPORTED
  14. #pragma options align=mac68k
  15. #endif
  16.  
  17. /* module statistics structure */
  18. struct    module_stat {
  19.     long    ms_pcnt;    /* count of calls to put proc */
  20.     long    ms_scnt;    /* count of calls to service proc */
  21.     long    ms_ocnt;    /* count of calls to open proc */
  22.     long    ms_ccnt;    /* count of calls to close proc */
  23.     long    ms_acnt;    /* count of calls to admin proc */
  24.     char*    ms_xptr;    /* pointer to private statistics */
  25.     short    ms_xsize;    /* length of private statistics buffer */
  26. };
  27.  
  28. #if PRAGMA_ALIGN_SUPPORTED
  29. #pragma options align=reset
  30. #endif
  31.  
  32. #endif
  33.